package com.shitou.shitoumember.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * class detail:
 *
 * @author 石头人
 */
@SuppressWarnings("all")
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class RegisterVo  implements Serializable {
    //用户名
    @NotEmpty(message = "账号不能为空")
    private String account;
    //密码
    @NotEmpty(message = "密码不能为空")
    private String password;
    //邮箱
    @Email(message = "邮箱格式不对哦")
    @NotEmpty(message = "邮箱不能为空")
    private String email;
    //验证码
//    @NotEmpty(message = "验证码不能为空")
    private String captcha;
    //uuid
//    @NotEmpty(message = "uuid不能为空")
    private String uuid;
}
